package com.mindskip.xzs.repository;

import com.mindskip.xzs.domain.dto.admin.education.SubjectPageDTO;
import com.mindskip.xzs.domain.entity.Subject;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SubjectMapper  extends BaseMapper<Subject> {

    List<Subject> selectAll();

    List<Subject> selectByPage(SubjectPageDTO subjectPageDTO);

    List<Subject> selectByLevel(Integer level);
}
